Kristian Rietveld [Thu, 26 Nov 2009 20:05:01 +0000 (21:05 +0100)]
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
Kristian Rietveld [Thu, 26 Nov 2009 19:31:29 +0000 (20:31 +0100)]
Logically re-group fields in GtkTreePrivate structure
This should now cause much less of a headache than before. Fields have
been properly reordered, each group has been given a comment. Since the
GtkTreePrivate structure is private (as the name says), this should not
have any effect on ABI.
Matej Urbančič [Fri, 27 Nov 2009 12:38:19 +0000 (13:38 +0100)]
Updated Slovenian translation
Matthias Clasen [Fri, 27 Nov 2009 07:11:08 +0000 (02:11 -0500)]
Updates
Matthias Clasen [Fri, 27 Nov 2009 06:23:55 +0000 (01:23 -0500)]
Add customary args to gtk_style_paint_spinner()
...and adjust all callers.
Matthias Clasen [Fri, 27 Nov 2009 05:47:03 +0000 (00:47 -0500)]
Remove duplicate entries
Matthias Clasen [Fri, 27 Nov 2009 05:46:18 +0000 (00:46 -0500)]
Fix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:45:22 +0000 (00:45 -0500)]
Fix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:43:51 +0000 (00:43 -0500)]
Fix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:42:54 +0000 (00:42 -0500)]
Remove duplicate doc comments.
These can only serve to confuse gtk-doc.
Matthias Clasen [Fri, 27 Nov 2009 05:39:26 +0000 (00:39 -0500)]
Fix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:37:20 +0000 (00:37 -0500)]
Un-doc-commentify a comment
Matthias Clasen [Fri, 27 Nov 2009 05:37:03 +0000 (00:37 -0500)]
Fix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:32:14 +0000 (00:32 -0500)]
Update debug flag information
Matthias Clasen [Fri, 27 Nov 2009 05:14:37 +0000 (00:14 -0500)]
Adjust default value for GtkToolItemGroup::label
Matthias Clasen [Fri, 27 Nov 2009 05:11:59 +0000 (00:11 -0500)]
Exclude GtkToolItemGroup::label-widget from default value test
Matthias Clasen [Fri, 27 Nov 2009 04:54:55 +0000 (23:54 -0500)]
Merge branch 'master' into toolpalette
Matthias Clasen [Fri, 27 Nov 2009 04:52:20 +0000 (23:52 -0500)]
Fix up docs, and set up the aliasing machinery
Matthias Clasen [Fri, 27 Nov 2009 00:41:38 +0000 (19:41 -0500)]
Some cleanups for the toolpalette demo
Matthias Clasen [Thu, 26 Nov 2009 23:56:25 +0000 (18:56 -0500)]
Fix another doc typo
Nishibori Kiyotaka [Thu, 26 Nov 2009 14:13:38 +0000 (23:13 +0900)]
Updated Japanese translation
Matthias Clasen [Thu, 26 Nov 2009 04:39:31 +0000 (23:39 -0500)]
Set scale_num only once
This modifies the previous commit to be according the upstream libjpeg
maintainers recommendations. See bug 588740.
Matthias Clasen [Wed, 25 Nov 2009 22:33:41 +0000 (17:33 -0500)]
Remove misleading text about invisible text
Invisible text has been working reasonably well since 2.8.
Nils-Christoph Fiedler [Wed, 25 Nov 2009 17:08:10 +0000 (18:08 +0100)]
Updated LowGerman translation
Matthias Clasen [Wed, 25 Nov 2009 06:02:40 +0000 (01:02 -0500)]
Make level3 keys work again
We were not paying attention to consumed modifiers when adding
virtual modifiers. This fixes RH bug 537567.
Christian Persch [Mon, 23 Nov 2009 13:33:08 +0000 (14:33 +0100)]
Make setting the icon-size property on GTK_IMAGE_GICON images work
Bug #602725.
Ivar Smolin [Sun, 22 Nov 2009 10:20:41 +0000 (12:20 +0200)]
Updating Estonian translation
Johannes Schmid [Wed, 18 Nov 2009 09:38:45 +0000 (10:38 +0100)]
toolpalette: Don't call gdk_window_process_updates() in the animation callback
That does not seem to make any difference.
Johannes Schmid [Wed, 18 Nov 2009 09:32:37 +0000 (10:32 +0100)]
toolpalette: Added dnd code to the gtk-demo
Matt Arsenault [Sat, 14 Nov 2009 15:08:32 +0000 (10:08 -0500)]
Fix missing documentation for GdkPixbufSimpleAnim.
It wasn't clear it was a GObject.
Mario Blättermann [Sun, 15 Nov 2009 16:58:59 +0000 (17:58 +0100)]
Added dummy Low German translation
Nils-Christoph Fiedler [Sun, 15 Nov 2009 16:55:27 +0000 (17:55 +0100)]
Added Low German translation
Kristian Rietveld [Sun, 15 Nov 2009 14:29:45 +0000 (15:29 +0100)]
Document how Cocoa coordinate and monitor layout transforms to GDK work
Alberto Garcia [Wed, 11 Nov 2009 11:14:16 +0000 (12:14 +0100)]
Bug 601512 - Remove unnecessary check in GtkTreeModelFilter
gtk_tree_model_filter_set_visible_func() is checking for
priv->visible_func, but that is always going to be NULL since there's
no way to call this function twice.
Besides that the code itself is wrong, since it tries to call
priv->visible_destroy without making sure that it's not NULL
Tor Lillqvist [Sat, 14 Nov 2009 22:32:14 +0000 (00:32 +0200)]
Awful hack for problem in dnd of images from Firefox on Windows
Bypassed with #if 0 because it is an awful hack and not really
acceptable from a privacy point of view for instance. It prevents
Firefox from deleting temporary files containing images being dragged,
so they stay on disk. Bug #561973.
Antón Méixome [Fri, 13 Nov 2009 10:27:54 +0000 (11:27 +0100)]
Updated Galician Translation
Li Yuan [Fri, 13 Nov 2009 04:28:03 +0000 (12:28 +0800)]
Require atk 1.29.2 for bug #569430.
Christian Dywan [Thu, 12 Nov 2009 17:57:37 +0000 (18:57 +0100)]
Implement gtk_statusbar_get_message_area and "message_area" child
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=594535
Kjartan Maraas [Wed, 11 Nov 2009 20:39:21 +0000 (21:39 +0100)]
Fix typo
Kjartan Maraas [Wed, 11 Nov 2009 19:13:39 +0000 (20:13 +0100)]
Updated Norwegian bokmål translation.
Christian Dywan [Wed, 11 Nov 2009 19:06:52 +0000 (20:06 +0100)]
[gtk/gtkwindow] Added accessor for GTK_WINDOW ()->type
There already is the "type" property, but an accessor
function for it would be intuitive: gtk_window_get_window_type()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=595498
Javier Jardón [Tue, 10 Nov 2009 20:02:45 +0000 (21:02 +0100)]
Only use gdk_input_select_events() if XINPUT_NONE is defined
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601337
Marek Kasik [Wed, 11 Nov 2009 13:21:11 +0000 (14:21 +0100)]
Rotate figures on landscape icons in page setup dialog
Rotate figures on landscape and reverse landscape icons
to match output of print (#599402).
Johannes Schmid [Wed, 11 Nov 2009 09:02:36 +0000 (10:02 +0100)]
toolpalette: Fixed inconsistent spacing
Johannes Schmid [Wed, 11 Nov 2009 08:42:49 +0000 (09:42 +0100)]
toolpalette: fixed trailing whitespaces
Johannes Schmid [Wed, 11 Nov 2009 08:37:55 +0000 (09:37 +0100)]
toolpalette: Fixed documentation
Johannes Schmid [Wed, 11 Nov 2009 08:33:49 +0000 (09:33 +0100)]
toolpalette: allow to reset same adjustment
Johannes Schmid [Wed, 11 Nov 2009 08:32:15 +0000 (09:32 +0100)]
toolpalettte: Fixed some style issues
Johannes Schmid [Wed, 11 Nov 2009 08:27:00 +0000 (09:27 +0100)]
toolpalette: Always show text horizontally
Javier Jardón [Tue, 10 Nov 2009 19:37:56 +0000 (20:37 +0100)]
Fix incorrect GtkMovementStep description
Reported by James Campos here:
https://bugzilla.gnome.org/show_bug.cgi?id=601432
Javier Jardón [Tue, 10 Nov 2009 19:26:59 +0000 (20:26 +0100)]
Fix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro
Javier Jardón [Tue, 10 Nov 2009 19:09:18 +0000 (20:09 +0100)]
[gdk] Added GDK_GPOINTER_TO_NATIVE_WINDOW() macro
GdkNativeWindow cast is needed in 64-bit Windows so gpointer data
is converted to a (64-bit) native window handle.
GPOINTER_TO_UINT() is used in other platforms.
Tor Lillqvist [Tue, 10 Nov 2009 14:08:23 +0000 (16:08 +0200)]
Revert "Fix compilation warning: Use G_POINTER_TO_UINT"
GPOINTER_TO_UINT() *does* drop the upper 32 bits on 64-bit
Windows. After all, it by definition produces a (32-bit) unsigned int.
The GLib commit mentioned in the reverted commit's log message just
means that it does this without any compiler warning about casting
from pointer to integer of smaller size, as it first casts to a 64-bit
integer, then casts that to a (32-bit) int.
We must use the GdkNativeWindow cast here so that on 64-bit Windows
the gpointer data in embedded_list is converted to a (64-bit) native
window handle without going through 32-bit truncation. If ifdefs are
required to avoid compiler warnings on X11, so be it then. Probably it
would be best to introduce a GDK_GPOINTER_TO_NATIVE_WINDOW() macro in
gdktypes.h.
This reverts commit
78151dc7d41069e876fe165527e68c238ef7fd4a.
Javier Jardón [Mon, 9 Nov 2009 21:39:54 +0000 (22:39 +0100)]
Fix compilation warning: Use a variable to store the return value
Johannes Schmid [Mon, 9 Nov 2009 21:16:15 +0000 (22:16 +0100)]
Ported gtktoolpalette from a custom array to GPtrArray.
...and some mixed fixes of things mentioned in the bug report
Javier Jardón [Mon, 9 Nov 2009 20:48:25 +0000 (21:48 +0100)]
Fix compilation warning: Use G_GNUC_UNUSED macro
add_builtin_module() is only used into #define block of code
Javier Jardón [Mon, 9 Nov 2009 04:48:45 +0000 (05:48 +0100)]
Fix compilation warning: Use G_POINTER_TO_UINT
GPOINTER_TO_UINT() doesn't drops the upper 32 bits on Win64 anymore.
The Glib commit
e4194cb055e44f8a1bd2ab666ead9fa040bcdb89 solved this
problem.
Javier Jardón [Mon, 9 Nov 2009 19:56:54 +0000 (20:56 +0100)]
Fix compilation warning: Disable unused function
Use #if 0 to disable unused gtk_text_btree_node_invalidate_downward()
Christian Dywan [Mon, 9 Nov 2009 15:36:17 +0000 (16:36 +0100)]
Clarify documentation of gtk_notebook_set_action_widget
Javier Jardón [Mon, 9 Nov 2009 09:27:30 +0000 (10:27 +0100)]
Fix some compilation warnings
Use the proper G*_TO_POINTER macro
Javier Jardón [Mon, 9 Nov 2009 08:41:51 +0000 (09:41 +0100)]
Fix compilation warning: initialize variable to NO_MATCH
Javier Jardón [Mon, 9 Nov 2009 01:25:06 +0000 (02:25 +0100)]
Fix compilation warning
Use GINT_TO_POINTER() and GPOINTER_TO_INT()
Javier Jardón [Mon, 9 Nov 2009 05:39:34 +0000 (06:39 +0100)]
Fix warning: Use parentheses around '&&' within '||'
Javier Jardón [Mon, 9 Nov 2009 01:01:56 +0000 (02:01 +0100)]
Fix compilation warning: Use const gchar* variable
Javier Jardón [Mon, 9 Nov 2009 00:53:25 +0000 (01:53 +0100)]
Fix compilation warning: Cast to gchar*
Javier Jardón [Mon, 9 Nov 2009 05:15:56 +0000 (06:15 +0100)]
Disable test until it is rewritten to work
Javier Jardón [Mon, 9 Nov 2009 05:09:40 +0000 (06:09 +0100)]
Fix compilation warning: initialize the variable
Javier Jardón [Sun, 8 Nov 2009 23:32:50 +0000 (00:32 +0100)]
Fix compilation warning: Cast to guchar*
Matthias Clasen [Mon, 9 Nov 2009 02:34:29 +0000 (21:34 -0500)]
Add GtkBuilder support for notebook action area.
Allow to place children into the notebooks action areas by using
"action-start" or "action-end" as the type.
Matthias Clasen [Mon, 9 Nov 2009 02:25:05 +0000 (21:25 -0500)]
Add an 'action area' to GtkNotebook
Add support for putting widgets in the tab area, before or after
the tabs. This was requested a long time ago in bug 116650. The
implementation is the work of Johannes Schmid.
Daniel Nylander [Sun, 8 Nov 2009 21:09:50 +0000 (22:09 +0100)]
Updated Swedish translation
Robin Stocker [Sun, 8 Nov 2009 00:27:05 +0000 (01:27 +0100)]
Example for setting default action in gtk_drag_dest_set
Paul Pogonyshev [Sat, 7 Nov 2009 23:10:45 +0000 (01:10 +0200)]
Trivial typo fix.
Thomas Thurman [Sat, 7 Nov 2009 15:49:44 +0000 (15:49 +0000)]
Shavian translation
Jorge González [Sat, 7 Nov 2009 11:45:52 +0000 (12:45 +0100)]
Updated Spanish translation
A S Alam [Sat, 7 Nov 2009 10:38:34 +0000 (16:08 +0530)]
Change Latin Number to Gurmukhi for Step up the use of Punjabi (Gurmukhi)
Johannes Schmid [Sat, 7 Nov 2009 09:55:37 +0000 (10:55 +0100)]
Remove G_GNUC_UNUSED
Javier Jardón [Sat, 7 Nov 2009 01:18:05 +0000 (02:18 +0100)]
Fix a typo
This was introduced in commit
72b69e0094db5ac1f9bf38bea429b45bf2e449e3
Reported by BugByteMan here:
http://mail.gnome.org/archives/gtk-devel-list/2009-November/msg00014.html
Jorge González [Fri, 6 Nov 2009 20:52:01 +0000 (21:52 +0100)]
Updated Spanish translation
Matej Urbančič [Fri, 6 Nov 2009 13:50:26 +0000 (14:50 +0100)]
Updated Slovenian translation
Matej Urbančič [Fri, 6 Nov 2009 13:49:58 +0000 (14:49 +0100)]
Updated Slovenian translation
Joanmarie Diggs [Fri, 6 Nov 2009 08:17:23 +0000 (16:17 +0800)]
Add RELATION_NODE_PARENT_OF relationship for treeview.
Bug 569430.
Nirbheek Chauhan [Fri, 6 Nov 2009 04:47:15 +0000 (05:47 +0100)]
[configure] Add check for cairo-svg.h for file print backend
Closes https://bugzilla.gnome.org/show_bug.cgi?id=600222
Javier Jardón [Fri, 6 Nov 2009 02:41:02 +0000 (03:41 +0100)]
[gdk/x11/gdkdnd-x11] Add missing "Deprecated: 2.x" to the api doc comments.
Javier Jardón [Fri, 6 Nov 2009 02:37:56 +0000 (03:37 +0100)]
[gdk/gdkimage] Add missing "Deprecated: 2.x" to the api doc comments.
Javier Jardón [Fri, 6 Nov 2009 02:30:31 +0000 (03:30 +0100)]
[gdk/gdkgc] Add missing "Deprecated: 2.x" to the api doc comments.
Javier Jardón [Fri, 6 Nov 2009 02:26:27 +0000 (03:26 +0100)]
[gdk/gdkdraw] Add missing "Deprecated: 2.x" to the api doc comments.
Javier Jardón [Fri, 6 Nov 2009 02:16:34 +0000 (03:16 +0100)]
[gdk/gdkcolors] Add missing "Deprecated: 2.x" to the api doc comments.
Javier Jardón [Fri, 30 Oct 2009 18:34:36 +0000 (19:34 +0100)]
Use "Deprecated:" gtk-doc symbol corrently
Also, added some suggestion about replacements for deprecated functions
Nicola Fontana [Fri, 6 Nov 2009 00:21:09 +0000 (01:21 +0100)]
Do not use static GTypeInfo and GInterfaceInfo
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
Christian Dywan [Thu, 5 Nov 2009 23:56:30 +0000 (00:56 +0100)]
Improve accessibility context and description of the spinner
https://bugzilla.gnome.org/show_bug.cgi?id=598758
Bruce Cowan [Fri, 30 Oct 2009 18:54:28 +0000 (18:54 +0000)]
Fix tooltips in GtkColorSelection
Tooltips made reference to palette, even though it may not have been
visible. Bug #600150.
Matthias Clasen [Thu, 5 Nov 2009 15:29:34 +0000 (10:29 -0500)]
Fix loading scaled-down jpegs
The assumption that scale_num will be automatically be 1 is no longer
with libjpeg7. So set it explicitly. Bug #588740.
Alexander Larsson [Wed, 4 Nov 2009 13:03:04 +0000 (14:03 +0100)]
Don't unnecessarily clear windows with no exposure mask set
When we just invalidate some area from the app we don't need to clear
windows with no exposure mask, because that wouldn't have happened pre-csw
anyway. Additionally we can avoid such clearing for native windows in cases
where the xserver already did the clearing like on exposes or when resizing
toplevels.
This means we don't fully redraw a GtkSocket when it resizes, thus
avoiding flicker in gnome-mplayer as reported in this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=598050
Alexander Larsson [Wed, 4 Nov 2009 13:01:36 +0000 (14:01 +0100)]
Document clears_as_native and make the name more descriptive
Alexander Larsson [Tue, 3 Nov 2009 14:38:35 +0000 (15:38 +0100)]
Add supports_native_bg to GdkWindowImpl
Backends that support native window background setting (and that clears
new window areas to this color/pixmap) should set this to true.
Currently only X11 supports this.
Alexander Larsson [Tue, 3 Nov 2009 13:47:31 +0000 (14:47 +0100)]
Don't unnecessarily expose areas copied by native windowing system
When moving or scrolling a window with native children, there is no
need to expose the areas that are copied by the windowing system
as part of moving/resizing the native windows anyway.
Alexander Larsson [Tue, 3 Nov 2009 13:41:36 +0000 (14:41 +0100)]
Only send exposes on unmap if window really was unmapped
Exposing when you hide a hidden window is just a waste of time.
Alexander Larsson [Tue, 3 Nov 2009 13:39:50 +0000 (14:39 +0100)]
Flush outstanding stuff when clearing directly on a window
Clearing will directly modify the contents of the window, so we need
to flush any outstanding moves or double-buffering.
Paolo Bonzini [Tue, 3 Nov 2009 16:48:42 +0000 (18:48 +0200)]
Don't run system("touch conf.gtktest") in the AM_PATH_GTK_2_0 macro
Just use the C library instead to create the file. Helps building
using Wine. Not that I think we want to endorse that way to build GTK+
for Windows, proper cross-compiling surely probably more sense, but
accepting this minimal patch doesn't hurt. From bug #590017.
Signed-off-by: Tor Lillqvist <tml@iki.fi>